package net.cyndeline.GUI.rendering

import javafx.scene.image.{ImageView, Image}

/**
 * Contains a graphical object that should be drawn onto a canvas, along with additional info on how to draw it.
 *
 * @param view The image to draw
 * @param x The x pixel coordinate to draw the image on from the upper left corner.
 * @param y The y pixel coordinate to draw the image on from the upper left corner.
 */
case class Render(view: Image, x: Int, y: Int)
